package com.sz.designpattern.behavior11.interpreter;

public class VarExpression extends ArithmeticExpression{
    private String str;

    public VarExpression(String str) {
        this.str = str;
    }

    @Override
    protected Object interpret(Context context) {
        return str;
    }
}
